<?php htmlTemplate('index/header.tpl.php')?>
<script type="text/javascript">
function save(){
	var url = '<?php echo MVC_WWW_HOST?>user/saveuserinfo';
	var email = $.trim($("#email").val());
	var phone = $.trim($("#phone").val());
	var pwd = $.trim($("#pwd").val());
	var username = $.trim($("#username").val());
	var name = $.trim($("#name").val());
	var code = $.trim($("#code").val());
	var checkcode = $.trim($("#checkcode").val());
    $.post(url,{'email':email,'phone':phone,'pwd':pwd,'username':username, 'name':name,'code':code,'checkcode':checkcode},function(rs){
        amsg(rs);        
    })
}
</script>
<?php htmlTemplate('index/userleft.tpl.php')?>
        <div style="" class="lrtab">    
        <a href="<?php echo MVC_WWW_HOST?>user/earn" <?php if (Http::get('do')=='') {echo 'class="lrtabon"';}?> style="border-left: solid 1px #DFDFDF" >充值换积分</a>
        <a href="<?php echo MVC_WWW_HOST?>user/earn/do/down" <?php if (Http::get('do')=='down') {echo 'class="lrtabon"';}?> >下载赚积分</a>
        <a href="<?php echo MVC_WWW_HOST?>user/earn/do/recommend" <?php if (Http::get('do')=='recommend') {echo 'class="lrtabon"';}?>>推荐赚积分</a>
        <a href="<?php echo MVC_WWW_HOST?>user/earn/do/list" <?php if (Http::get('do')=='list') {echo 'class="lrtabon"';}?>>积分获取记录</a>
        </div>
        <div class="clear"></div>
        <div>
            
        </div>
<?php htmlTemplate('index/userfooter.tpl.php')?>
<?php htmlTemplate('index/footer.tpl.php')?>